@echo off
%~d0
cd "%~dp0"
echo.
echo Please read the Project Hawaii Cloud Services EULA:
call "..\..\Libraries\Hawaii.Services.Client.Ocr\Cloud Services SDK for WP7_EULA.rtf"
echo.

SET /p EulaAcepted=Do you accept the terms in the 'Microsoft Software Licence for the MSR Cloud Services Software Development Kit For Windows Phone 7' (y/n)?: 

IF /I NOT "%EulaAcepted%"=="Y" GOTO DONE

"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MsBuild" "%~dp0\..\..\..\..\Setup\acs\AcsSetup.sln" /p:Configuration=Debug
cd ..\..\..\..\Setup\acs\AcsSetup\bin\Debug\
cls

AcsSetup.exe %~dp0 "BabelCam"

cd ..\..\..\..\Scripts\Samples

cls
echo.
CALL SetupTranslator.cmd "%~dp0"

cls
echo.
CALL SetupHawaii.cmd "%~dp0"
echo.

:DONE